package com.dries.chat.enums;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2020/7/14 17:31
 */
public enum MsgTypeEnum {
    /**
     * 1.文本消息(type = 0)
     * 2. 图片消息(type = 1)
     * 3. 语音消息(type = 2)
     * 4. 视频消息(type = 3)
     * 5. 发送地理位置消息(type = 4)
     * 6. 发送文件消息(type = 6)
     * 7. 发送提示消息(type = 10)
     * 8. 发送第三方自定义消息(type = 100)
     */
    CHAT_CONNECT(888, "点对点聊天消息"),
    GROUP_CHAT_CONNECT(999, "群聊消息"),

    TEXT_MSG(0, "文本消息"),
    IMAGE_MSG(1, "图片消息"),
    VOICE_MSG(2, "语音消息"),
    VIDEO_MSG(3, "视频消息"),
    ADDRESS_MSG(4, "发送地理位置消息"),
    FILE_MSG(5, "发送文件消息"),
    HINT_MSG(6, "发送提示消息"),
    DIY_MSG(100, "发送第三方自定义消息");

    public final Integer type;
    public final String content;

    MsgTypeEnum(Integer type, String content) {
        this.type = type;
        this.content = content;
    }


}
